package com.simtop.pojo.userpo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

/**
* @Author: liuzhaobo
* @Description: 用户类
* @DateTime: 2022/8/31 0031 17:06
* @Params: 
* @Return 
*/
@Data
@TableName(value = "tb_user")
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class Users {
    /**
     * 主键id
     */
    @TableId
    @ExcelProperty("用户id")
    private Integer id;
    /**
     * 用户名
     */
    @TableField("username")
    @ExcelProperty("用户名")
    private String username;
    /**
     * 登录名
     */
    @ExcelProperty("登录名")
    @TableField("login_name")
    private String loginName;


}
